package com.faneui.transfer.gateway.vo;

import io.swagger.annotations.ApiModelProperty;

public class CardVo {

	@ApiModelProperty(value = "主键.")
	private Long id;

	@ApiModelProperty(value = "库位号")
	private String cardName;

	@ApiModelProperty(value = "位置x")
	private String cardX;

	@ApiModelProperty(value = "仓库id")
	private Long warehouseId;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "是否虚拟 1 真实 0，虚拟")
	private Byte isVirtual;

	@ApiModelProperty(value = "库位容量(库位面积)")
	private String area;

	@ApiModelProperty(value = "排数")
	private Integer grids;

	public String getCardName() {
		return cardName;
	}

	public void setCardName(String cardName) {
		this.cardName = cardName == null ? null : cardName.trim();
	}

	public String getCardX() {
		return cardX;
	}

	public void setCardX(String cardX) {
		this.cardX = cardX == null ? null : cardX.trim();
	}

	public Long getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(Long warehouseId) {
		this.warehouseId = warehouseId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Byte getIsVirtual() {
		return isVirtual;
	}

	public void setIsVirtual(Byte isVirtual) {
		this.isVirtual = isVirtual;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area == null ? null : area.trim();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getGrids() {
		return grids;
	}

	public void setGrids(Integer grids) {
		this.grids = grids;
	}

	@Override
	public String toString() {
		return "CardVo [id=" + id + ", cardName=" + cardName + ", cardX=" + cardX + ", warehouseId=" + warehouseId
				+ ", remark=" + remark + ", isVirtual=" + isVirtual + ", area=" + area + ", grids=" + grids + "]";
	}

	// @Override
	// public int compareTo(CardVo o) {
	// if (Integer.parseInt(this.cardName) - Integer.parseInt(o.getCardName()) <
	// 0)
	// return 0;
	// return 1;
	// }
}